/* Copyright (c) 2010 OFXKit
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#import <Foundation/Foundation.h>
#import "OFXObject.h"
#import "OFXAccount.h"
#import "OFXRequest.h"

@interface OFXStatementRequest : OFXObject <OFXRequest> {
  OFXAccount* account;
  NSDate* dateStart;
  NSDate* dateEnd;
  bool includeTransactions;
  bool includeTransactionImageInformation;
  NSString* prefix;
  NSString* accountPrefix;
  NSString* transactionUUID;
}

/**
 * @property account
 * @brief Account to request statement for.
 */
@property(retain) OFXAccount* account;

@property(retain) NSString* accountPrefix;

/**
 * @property dateStart
 * @brief Start of transaction date range.
 */
@property(retain) NSDate* dateStart;

/**
 * @property dateEnd
 * @brief End of transaction date range.
 */
@property(retain) NSDate* dateEnd;

/**
 * @property includeTransaction
 * @brief Include transactions in the response.
 */
@property(assign) bool includeTransactions;

/**
 * @property includeTransactinoImageInformation
 * @brief Include images of transactions in response.
 */
@property(assign) bool includeTransactionImageInformation;

/**
 * Initialize object
 */
- (id)init;

@end
